package com.zhongyu.comm.api;

import com.zhongyu.comm.vo.CommentVo;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

public interface CommentApi {

    @PostMapping("/comment/add1")
    int add1(@RequestBody CommentVo commentVo);

    /* 提供者不支持 RequestParam
    @PostMapping("/comment/add2")
    int add2(@RequestParam("commentVo") CommentVo commentVo);*/


}
